<?php
if(isset($_POST['bnetid']))
{
	include('BattleNetParser.php');
	$parser = new BattleNetParser($_POST['bnetid'], true);
	print_r( $parser->get_1v1_league() );
	print_r( $parser->get_1v1_Rank() );
}
?>
<form method="post" action="test.php">
<input type="text" value="" id="bnetid" size="150" name="bnetid" />
<input type="submit" value="send" />
</form>